package com.lovo.dao;
import org.apache.ibatis.annotations.Param;
import java.util.List;

import com.lovo.model.UserRole;

public interface UserRoleMapper {
    int deleteByPrimaryKey(Integer userRoleId);

    int insert(UserRole record);

    int insertSelective(UserRole record);

    UserRole selectByPrimaryKey(Integer userRoleId);

    int updateByPrimaryKeySelective(UserRole record);

    int updateByPrimaryKey(UserRole record);

    List<UserRole> findAllByFkUserId(@Param("fkUserId")Integer fkUserId);

    int deleteByFkUserId(@Param("fkUserId")Integer fkUserId);


}